table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    clear: both;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right center;
}

table.dataTable thead .sorting {
    background-image: url("../images/common/sort_both.png");
}

table.dataTable thead .sorting_asc {
    background-image: url("../images/common/sort_asc.png");
}

table.dataTable thead .sorting_desc {
    background-image: url("../images/common/sort_desc.png");
}

.dataTable td.sorting_1 {
    background-color: #f5fafe;
}

.dataTables_wrapper .dataTables_length {
    float: left;
    padding-bottom: 10px;
}

.dataTables_wrapper .dataTables_length .select {
    width: 50px;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter .input-text {
    width: auto;
}

.dataTables_wrapper .dataTables_info {
    clear: both;
    float: left;
    padding-top: 10px;
    font-size: 14px;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    padding-top: 10px;
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid #ccc;
    cursor: pointer;
    display: inline-block;
    margin-left: 2px;
    text-align: center;
    text-decoration: none;
    height: 26px;
    line-height: 26px;
    text-decoration: none;
    margin-right: 5px;
    padding: 0 10px;
    font-size: 14px;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):hover {
    background: #009688;
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #ccc;
}

.table-box {
    width: 100%;
    border: 1px solid #ddd;
    border-collapse: separate;
    margin-top: 0;
    border-left: 0;
}

.table-box tfoot td,
.table-box tfoot th {
    border-top: 1px solid #CCCCCC;
}

.table-box tfoot th,
.table-box thead th {
    font-size: 15px;
    font-weight: 400;
    border-left: 1px solid #ddd;
    white-space: nowrap;
    line-height: 34px;
    padding: 0 10px 0 3px;
    text-align: center;
}

.table-box tfoot th:first-child,
.table-box thead th:first-child {
    padding: 0;
}

.table-box tbody td {
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 6px 5px;
    font-size: 13px;
    line-height: 20px;
}

.table-box tbody tr.odd {
    background-color: #fff;
}

.table-box tbody tr.even {
    background-color: #f9f9f9;
}

.table-box tbody tr:nth-of-type(odd) {
    background-color: #fff;
}

.table-box tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.table-box td,
.table-box th {
    min-width: 35px;
    max-width: 400px;
}

.table-box tbody tr:hover {
    background-color: #f5f5f5;
}

.table-box th>input[type='checkbox'],
.table-box td>input[type='checkbox'] {
    vertical-align: middle;
}

.table-box .td-handle .handle-btn {
    cursor: pointer;
    margin: 0 2px;
}

.dataTables_filter input[type="search"] {
    width: 150px;
    margin-left: 5px;
    padding-left: 10px;
    border: 1px solid #e6e6e6;
    background-color: #fff;
    border-radius: 2px;
    height: 32px;
    line-height: 32px;
    line-height: 30px\9;
}

.dataTables_length select {
    height: 32px;
    width: 50px;
    border: 1px solid #e6e6e6;
}

.dataTables_wrapper .paginate_button.next,
.dataTables_wrapper .paginate_button.previous {
    border: none;
}

.dataTables_wrapper .paginate_button.current {
    border: 1px solid #009688;
}

.dt-button-background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .1);
    z-index: 998;
}

.dt-button-info {
    padding: 20px;
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    width: 300px;
    color: #fff;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
}

.dataTable>tbody>tr.selected>td {
    background-color: #d2efd3;
}

.dataTables_processing {
    position: absolute;
    top: 200px;
    left: 50%;
    width: 100%;
    height: 100px;
    margin-left: -50%;
    text-align: center;
}

//操作栏
.tableTools {
    position: relative;
    .dt-button-collection .dropdown-menu {
        display: block;
        z-index: 999;
    }
    .dt-button-collection .dropdown-menu>li>a {
        color: #BBBBBB;
        text-decoration: line-through;
        background-color: #EEEEEE;
    }
    .dt-button-collection .dropdown-menu>li>a.active {
        color: #333;
        text-decoration: none;
        background-color: #ffffff;
    }
    .tableTools-box {
        margin: 10px 0;
        display: inline-table;
        position: relative;
        .table-tool {
            position: relative;
        }
        .dt-button-collection {
            margin-top: 0 !important;
        }
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            z-index: 1000;
            min-width: 130px;
            margin-top: 2px;
            padding: 1px;
            background-color: #ffffff;
            //border: 1px solid rgba(0, 0, 0, 0.15);
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
            -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
            background-clip: padding-box;
            li {
                .dt-button {
                    display: inline-block;
                    padding: 5px 15px;
                    clear: both;
                    font-weight: normal;
                    line-height: 1.2;
                    white-space: nowrap;
                    width: 100%;
                }
            }
            li:hover {
                background-color: #e6e6e6;
                cursor: pointer;
            }
        }
    }
}